package com.doyens.entity;


import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 学生费用
 */
@Data
@Slf4j
@ApiModel(value = "学费统计管理实体类")
@TableName("sch_cost")
public class Cost implements Serializable {

    @ApiModelProperty(value = "学费统计管理主键id")
    @TableId(value = "cost_id",type = IdType.AUTO)
    private Integer costId;

    @ApiModelProperty(value = "学生主键id")
    private Integer studentId;

    @ApiModelProperty(value = "课程总费用")
    private Integer tuitionAccommodation;

    @ApiModelProperty(value = "课程已收费用")
    private Integer accommodationPaid;

    @ApiModelProperty(value = "课程未收费用")
    private Integer accommodationNotPaid;

    @ApiModelProperty(value = "住宿总费用")
    private Integer tuitionTotal;

    @ApiModelProperty(value = "住宿已收费用")
    private Integer tuitionPaid;

    @ApiModelProperty(value = "住宿未收费用")
    private Integer tuitionNotPaid;

    @ApiModelProperty(value = "缴费状态")
    private Integer status;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}
